local config = {}
local path = "Interface\\Addons\\TidyPlatesKnurl" 

------------------------------------------------------------------
-- Tidy Plates looks for this function: NAMEPLATE_SPECIALTEXT_DELEGATE() ...
-- ... if found, it will run it every update.  Tidy Plates passes the
-- function a table - unit - which contains current information about the
-- specific unit.  The function must return text, to function properly.

-- Current Table Members:
--	unit.threatSituation = "LOW", "MEDIUM", or "HIGH"
--	unit.reaction = "FRIENDLY", or "NOTFRIENDLY"
--	unit.isElite = TRUE or FALSE
--	unit.name = String
--	unit.level = String
--	unit.health = Number
--	unit.healthmax = Number
			
config.textures = {
	standardtexture 		= path.."\\NonBorder",
	casttexture		 		= path.."\\Cast",
	glowtexture 			= path.."\\Glow",
	eliteTexture		 	= path.."\\EliteBorder",
	eliteThreatTexture 		= path.."\\EliteThreat",
	nonEliteThreatTexture  	= path.."\\NonThreat",
	width = 256,
	height = 64,
	x = 0,
	y = 0,
}

config.healthbar = {
	texture 				= path.."\\StatusBar",
	height = 23,
	width = 110,
	x = 9,
	y = 0,
	anchor = "CENTER",
}

config.castbar = {
	texture 				= path.."\\StatusBar",
	height = 5,
	width = 107,
	x = 12,
	y = -20,
	anchor = "CENTER",
}

config.spellicon = {
	height = 18,
	width = 18,
	x = 78,
	y = -14,
	anchor = "CENTER",
}

config.name = {
	typeface =					path.."\\ARIAL.ttf",
	size = 11,
	width = 108,
	height = 13,
	x = 9,
	y = 7,
	align = "LEFT",
	anchor = "CENTER",
	shadow = true,
}

config.level = {
	typeface =					path.."\\ARIAL.ttf",
	size = 9,
	width = 30,
	height = 13,
	x = -54,
	y = 7,
	align = "CENTER",
	anchor = "CENTER",
	shadow = true,
}

config.specialText = {
	typeface =					path.."\\ARIAL.ttf",
	size = 8,
	width = 108,
	height = 9,
	x = 10,
	y = -6,
	align = "LEFT",
	anchor = "CENTER",
	vertical = "TOP",
	shadow = true,
}

config.dangerskull = {
	width = 12,
	height = 12,
	x = -54,
	y = 5,
	anchor = "CENTER",
}

config.raidicon = {
	width = 18,
	height = 18,
	x = 0,
	y = 9,
	anchor = "TOP",
}

config.frame = {
	width = 131,
	height = 28,
	x = 0,
	y = 0,
}

config.options = {
	showEliteColor = false,
	showLevel = true,
	showName = true,
	showSpecialText = true,
	showDangerSkull = true,
}

MY_NAMEPLATE_STYLE_SHOWN_KNURL = {}
MY_NAMEPLATE_STYLE_SHOWN_KNURL = config


				
